<template>
  <div id="table-bar">
    <p>{{title}}</p>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props: ['title']
}
</script>

<style lang="scss" scoped>
  #table-bar{
    margin: 0 auto;
    width: calc(100% - 100px);
    text-align: left;
    background-color: #ffffff;
    padding: 20px 40px;
    margin-top: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
  }
  #table-bar > p:first-child{
    padding: 20px 0px 40px 0px;
  }
</style>